package com.ruoyi.hospital.domain.member;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 发票信息对象 member_invoice
 *
 * @author wendao
 * @date 2024-08-15
 */
public class MemberInvoice extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 订单 */
    @Excel(name = "订单编号")
    private String orderNumber;
    private Integer orderId;

    /** 发票代码 */
    @Excel(name = "发票代码")
    private String invoiceCode;

    /** 发票抬头 */
    @Excel(name = "发票抬头")
    private String invoiceTitle;

    /** 抬头类型 */
    @Excel(name = "抬头类型",dictType = "invoice_title_type")
    private Integer invoiceTitleType;

    /** 发票金额 */
    @Excel(name = "发票金额")
    private BigDecimal invoiceAmount;

    /** 发票类型 */
    @Excel(name = "发票类型",dictType = "invoice_type")
    private Integer invoiceType;

    /** 用户 */
    @Excel(name = "用户姓名")
    private String memberName;
    private Integer memberId;

    /** 开票时间 */
    @Excel(name = "开票时间")
    private Integer invoiceTime;

    /** 状态 */
    @Excel(name = "状态",dictType = "invoice_state")
    private Integer invoiceState;

    /** 删除时间 */
    private Integer deleteTime;


    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setOrderId(Integer orderId)
    {
        this.orderId = orderId;
    }

    public Integer getOrderId()
    {
        return orderId;
    }
    public void setInvoiceCode(String invoiceCode)
    {
        this.invoiceCode = invoiceCode;
    }

    public String getInvoiceCode()
    {
        return invoiceCode;
    }
    public void setInvoiceTitle(String invoiceTitle)
    {
        this.invoiceTitle = invoiceTitle;
    }

    public String getInvoiceTitle()
    {
        return invoiceTitle;
    }
    public void setInvoiceTitleType(Integer invoiceTitleType)
    {
        this.invoiceTitleType = invoiceTitleType;
    }

    public Integer getInvoiceTitleType()
    {
        return invoiceTitleType;
    }
    public void setInvoiceAmount(BigDecimal invoiceAmount)
    {
        this.invoiceAmount = invoiceAmount;
    }

    public BigDecimal getInvoiceAmount()
    {
        return invoiceAmount;
    }
    public void setInvoiceType(Integer invoiceType)
    {
        this.invoiceType = invoiceType;
    }

    public Integer getInvoiceType()
    {
        return invoiceType;
    }
    public void setMemberId(Integer memberId)
    {
        this.memberId = memberId;
    }

    public Integer getMemberId()
    {
        return memberId;
    }
    public void setInvoiceTime(Integer invoiceTime)
    {
        this.invoiceTime = invoiceTime;
    }

    public Integer getInvoiceTime()
    {
        return invoiceTime;
    }
    public void setInvoiceState(Integer invoiceState)
    {
        this.invoiceState = invoiceState;
    }

    public Integer getInvoiceState()
    {
        return invoiceState;
    }
    public void setDeleteTime(Integer deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("invoiceCode", getInvoiceCode())
                .append("invoiceTitle", getInvoiceTitle())
                .append("invoiceTitleType", getInvoiceTitleType())
                .append("invoiceAmount", getInvoiceAmount())
                .append("invoiceType", getInvoiceType())
                .append("memberId", getMemberId())
                .append("invoiceTime", getInvoiceTime())
                .append("invoiceState", getInvoiceState())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleteTime", getDeleteTime())
                .toString();
    }
}
